package com.dtw.ditouwang.beans;

import java.util.List;

public class CommentDetialBean {

    /**
     * flag : Success
     * msg : 查询成功!
     * result : true
     * data : {"comment":{"c_info":"评论3","head":null,"nickname":"哈哈","counts":3},"second":[{"c_info":"评论2","head":null,"nickname":"哈哈","id":2,"times":"2018-11-19 09:00","zan":20},{"c_info":"二级评论","head":null,"nickname":"哈哈","id":4,"times":"2018-11-19 09:00","zan":0},{"c_info":"二级评论1","head":null,"nickname":"aaa","id":5,"times":"2018-11-19 09:00","zan":0}]}
     */

    private String flag;
    private String msg;
    private boolean result;
    private DataBean data;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * comment : {"c_info":"评论3","head":null,"nickname":"哈哈","counts":3}
         * second : [{"c_info":"评论2","head":null,"nickname":"哈哈","id":2,"times":"2018-11-19 09:00","zan":20},{"c_info":"二级评论","head":null,"nickname":"哈哈","id":4,"times":"2018-11-19 09:00","zan":0},{"c_info":"二级评论1","head":null,"nickname":"aaa","id":5,"times":"2018-11-19 09:00","zan":0}]
         */

        private CommentBean comment;
        private List<SecondBean> second;

        public CommentBean getComment() {
            return comment;
        }

        public void setComment(CommentBean comment) {
            this.comment = comment;
        }

        public List<SecondBean> getSecond() {
            return second;
        }

        public void setSecond(List<SecondBean> second) {
            this.second = second;
        }

        public static class CommentBean {
            /**
             * c_info : 评论3
             * head : null
             * nickname : 哈哈
             * counts : 3
             */

            private String c_info;
            private String head;
            private String nickname;
            private int counts;
            private String comment_timee;

            public String getC_info() {
                return c_info;
            }

            public void setC_info(String c_info) {
                this.c_info = c_info;
            }

            public String getHead() {
                return head;
            }

            public void setHead(String head) {
                this.head = head;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public int getCounts() {
                return counts;
            }

            public void setCounts(int counts) {
                this.counts = counts;
            }

            public String getComment_timee() {
                return comment_timee;
            }

            public void setComment_timee(String comment_timee) {
                this.comment_timee = comment_timee;
            }
        }

        public static class SecondBean {
            /**
             * c_info : 评论2
             * head : null
             * nickname : 哈哈
             * id : 2
             * times : 2018-11-19 09:00
             * zan : 20
             */

            private String c_info;
            private String head;
            private String nickname;
            private int id;
            private String times;
            private int zan;
            private int is_click;

            public String getC_info() {
                return c_info;
            }

            public void setC_info(String c_info) {
                this.c_info = c_info;
            }

            public String getHead() {
                return head;
            }

            public void setHead(String head) {
                this.head = head;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTimes() {
                return times;
            }

            public void setTimes(String times) {
                this.times = times;
            }

            public int getZan() {
                return zan;
            }

            public void setZan(int zan) {
                this.zan = zan;
            }

            public int getIs_click() {
                return is_click;
            }

            public void setIs_click(int is_click) {
                this.is_click = is_click;
            }
        }
    }
}
